package com.entity;

/**
 * @author 20x
 * @date 2024 - 11 -19
 **/
public class goods {
    private String good_id;// 编号
    private String good_name;//名称
    private double good_price;//价格
    private String good_date;//上架日期
    private int good_status;// 状态：1上架，0下架

    public goods() {
    }

    public goods(String good_id, String good_name, double good_price, String good_date, int good_status) {
        this.good_id = good_id;
        this.good_name = good_name;
        this.good_price = good_price;
        this.good_date = good_date;
        this.good_status = good_status;
    }   

    public String getGood_id() {
        return good_id;
    }

    public void setGood_id(String good_id) {
        this.good_id = good_id;
    }

    public String getGood_name() {
        return good_name;
    }

    public void setGood_name(String good_name) {
        this.good_name = good_name;
    }

    public double getGood_price() {
        return good_price;
    }

    public void setGood_price(double good_price) {
        this.good_price = good_price;
    }

    public String getGood_date() {
        return good_date;
    }

    public void setGood_date(String good_date) {
        this.good_date = good_date;
    }

    public int getGood_status() {
        return good_status;
    }

    public void setGood_status(int good_status) {
        this.good_status = good_status;
    }

    @Override
    public String toString() {
        return "goods{" +
                "good_id=" + good_id +
                ", good_name='" + good_name + '\'' +
                ", good_price=" + good_price +
                ", good_date='" + good_date + '\'' +
                ", good_status=" + good_status +
                '}';
    }
}
